package com.bawei.movie.uistate

import com.bawei.common.state.BaseUiState
import com.bawei.movie.entity.MovieTypeEntity

/**
 * UI更新的状态类
 */
sealed class MovieUiState: BaseUiState(){

    object LoadEmpty: MovieUiState()

    data class LoadLeverOneTypeSuccess(val list: List<MovieTypeEntity>): MovieUiState()
    data class LoadLeverOneTypeFail(val msg: String): MovieUiState()

    data class LoadLeverTwoTypeSuccess(val list: List<MovieTypeEntity>): MovieUiState()
    data class LoadLeverTwoTypeFail(val msg: String): MovieUiState()


}
